Understanding Maple by Ian Thompson

Understanding Maple by Ian Thompson

Author:Ian Thompson [Thompson, Ian]
Language: eng
Format: azw3
Publisher: Cambridge University Press
Published: 2016-11-24T05:00:00+00:00


A system of equations or expressions contained in a set can be used as the first argument to fsolve. The variables for which to solve can also be given in a set.

> eqn1 := x^2 - y^3 + z = 0 :

> eqn2 := sin( x ) + exp( -y ) - z^2 = 0 :

> eqn3 := cos( x ) - z = 0 :

> fsolve( { eqn1 , eqn2 , eqn3 } , { x , y , z } ) ;

Similarly, a set of ranges or initial guesses can be provided when solving simultaneous equations.

> eq1 := x^2 + y^2 = 1 :

> eq2 := y = x^3 :

> fsolve( { eq1 , eq2 } , { x = 0 .. 1 , y = 0 .. 1 } ) ;



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.